<!-- 根组件：导航与路由出口 -->
<template>
  <div class="app">
    <NavBar />
    <router-view />
  </div>
  
</template>

<script>
import NavBar from './components/NavBar.vue'
export default { name: 'AppRoot', components: { NavBar } }
</script>

<style>
.app { max-width: 980px; margin: 0 auto; padding: 16px; font-family: Arial; }
</style>

